package com.be.beadmin.quality.dto.output;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class CustomComplaintExcelEx {
    @ExcelProperty("项目编码")
    private String projectCode;
    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("问题类别")
    private String problemType;
    @ExcelProperty("缺陷数量")
    private Integer bugCount;
    @ExcelProperty("负责人")
    private String responsor;
    @ExcelProperty("提出时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd kk:mm",
            timezone = "GMT+8"
    )
    private Date makerTime;
    @ExcelProperty("状态")
    protected Integer state;
//    @ExcelProperty("项目id")
//    private String infoId;

    @ExcelProperty("提出人")
    private String maker;
//    @ExcelProperty("提出人ID")
//    private String makerId;

//    @ExcelProperty("问题文字描述")
//    private String problemTextDes;
//    @ExcelProperty("问题图片URL")
//    private String problemPicUrl;

//    @ExcelProperty("负责人ID")
//    private String responsorId;
//    @ExcelProperty("临时解决方案")
//    private String tempSolution;
//    @ExcelProperty("原因分析及描述")
//    private String reasonAnalysis;
//    @ExcelProperty("后续改进方案（附件）")
//    private String improvementUrl;
//    @ExcelProperty("根本原因分析及描述")
//    private String baseReasonAnalysis;
//    @ExcelProperty("后续改进方案（描述）")
//    private String improvementText;
//    @ExcelProperty("客户名称")
//    private String customerName;
//
//
//    @ExcelProperty("完成日期")
//    private Date finishTime;

}
